<div id="form"></div>
<script>
var grid;
var frm=$("#form").ajajform({
	header: "{{!Delete page template}}",
	submit: {
		url: '{{action}}',
		value: "{{!Delete}}",
		ajaj: true,
		params: {mode: "delete2",id: '{{fields.id}}',ajaj: 1},
	}
});
frm.ajajform("insertWidget",null,null,{
	type: "label",
	name: "name",
	label: "{{!Template name}}",
	not_null:1,
	width: 500,
	value: {{JSON:template.name}}
});
</script>

